<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>LiveHelp-maxcash</title>
<script language="JavaScript" type="text/JavaScript" src="http://maxcash.com.au/livehelp/scripts/jquery-latest.js"></script>
<script src="http://maxcash.com.au/livehelp/scripts/jquery.livehelp.js"></script>
<script type="text/javascript">
function closeChat()
{
	var r = confirm("Are you sure! Do you want to disconnect?");
	if (r == true)
	{
	  disconnectChat();
	  return true;
	}
	else
	{
		return false;	
	}
	
}

function disconnectChat()
{
	$.ajax({ url:'http://www.maxcash.com.au/livehelp/logout.php',
			data: { SESSION: encodeURIComponent(cookies.session) },
			dataType: type,
			cache: false,
			xhrFields: { withCredentials: true },
			success: function (data) {								
					window.close();				
			},
			error: function (jqXHR, textStatus, errorThrown) {
				console.log(textStatus);
			}
		});
}
 
</script> 
</head>

<body>
<div style="width:100%; margin:0 auto; max-width:650px; border:0;">

 

<iframe src="http://maxcash.com.au/livehelp/index.php" width="100%" height="500px" frameborder="0" scrolling="no"></iframe>
</div>

</body>
</html>
